import request from '/@/utils/request'
import { prefix } from '/@/api/sys'

// 分页
export function queryList(params) {
    return request({
        url: prefix + '/sysStationMessage/queryList',
        method: 'get',
        params:params
    })
}

export function create(data) {
    return request({
        url: prefix + '/sysStationMessage/create',
        method: 'post',
        data
    })
}

export function update(data) {
    return request({
        url: prefix + '/sysStationMessage/update',
        method: 'post',
        data
    })
}

export function remove(id) {
    return request({
        url: prefix + '/sysStationMessage/remove/'+id,
        method: 'get',
    })
}

export function get(id) {
    return request({
        url: prefix + '/sysStationMessage/get/'+id,
        method: 'get',
    })
}